Global Const tSWP_NOSIZE = 1 'I added the "t" to elim. error mess because the move with mouse uses same name but diff. value ??? but this one dowen'seem to be used anywhere... but it works
Global Const FLAGS = SWP_NOMOVE Or tSWP_NOSIZE
Global Const HWND_TOPMOST = -1
Global Const HWND_NOTOPMOST = -2
'Check when form loses focus
Global Focus As Integer
Declare Function GetActiveWindow Lib "User" () As Integer
'Used to set/reset form when got/lost focus (now I can
' just type the color names).
Global Const Black = &H0&
Global Const Red = &HFF&
Global Const Blue = &HFF0000
Global Const White = &HFFFFFF
Global Const Grey = &HC0C0C0
'Free Memory
Declare Function GetFreeSpace Lib "Kernel" (ByVal wFlags As Integer) As Long
'Free Resources
Declare Function GetFreeSystemResources Lib "User" (ByVal fuSysResource As Integer) As Integer
Global Const GFSR_SYSTEMRESOURCES = 0
'This is for Windows version verification
Declare Function GetVersion Lib "Kernel" () As Integer
'For DING on the hour and 1/2 hour
Declare Function SndPlaySound Lib "mmsystem" (ByVal FileName$, ByVal snd_async%) As Integer
'To handle .ini file operations
Declare Function GetPrivateProfileInt Lib "Kernel" (ByVal lpAppName As String, ByVal lpKeyName As String, ByVal nDefault As Integer, ByVal lpFileName As String) As Integer
Declare Function GetPrivateProfileString Lib "Kernel" (ByVal lpAppName As String, ByVal lpKeyName As String, ByVal lpDefault As String, ByVal lpReturnedString As String, ByVal nSize As Integer, ByVal lpFileName As String) As Integer
Declare Function WritePrivateProfileString Lib "Kernel" (ByVal lpAppName As String, ByVal lpKeyName As String, ByVal lpString As String, ByVal lplFileName As String) As Integer
'Move window with the mouse
Type POINTAPI
X As Integer
Y As Integer
End Type
Declare Sub GetCursorPos Lib "User" (lpPoint As POINTAPI)
Declare Sub ScreenToClient Lib "User" (ByVal hWnd As Integer, lpPoint As POINTAPI)
' I remed this out and used the function declar. in the stay on top area
'Declare Sub SetWindowPos Lib "User" (ByVal hWnd As Integer, ByVal hWndInsertAfter As Integer, ByVal X As Integer, ByVal Y As Integer, ByVal cx As Integer, ByVal cy As Integer, ByVal wFlags As Integer)